package vip.xiaonuo.common.sensitive.core.impl;

import org.springframework.stereotype.Service;
import vip.xiaonuo.common.sensitive.core.SensitiveService;

/**
 * 脱敏服务
 * 默认管理员不过滤
 * 需自行根据业务重写实现
 *
 * @author zjt
 */
@Service
public class SensitiveServiceImpl implements SensitiveService {

    /**
     * 是否脱敏
     */
    @Override
    public boolean isSensitive(String roleKey, String perms) {
        return true;
    }

}